#!/bin/bash
#
# checkmodule -M -m -o banssh.mod banssh.te 
# semodule_package -o banssh.pp -m banssh.mod
# semodule -i banssh.pp 

POLICY_FILE=myauditbot4
audit2allow -M $POLICY_FILE -l -i /var/log/audit/audit.log
#audit2allow -M $POLICY_FILE -l -i /var/log/messages
#audit2allow -d -M $POLICY_FILE -l 
semodule -i $POLICY_FILE.pp